package cn.com.chengmandian.erp.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * ERP系统-备件管理-个人库存-出入库记录
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("erp_part_personal_inout")
@ApiModel(value = "ErpPartPersonalInout对象", description = "ERP系统-备件管理-个人库存-出入库记录")
public class ErpPartPersonalInout implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("运营城市ID")
    private Integer operateId;

    @ApiModelProperty("仓库ID")
    private Integer warehouseId;

    @ApiModelProperty("备件ID")
    private Integer goodsId;

    @ApiModelProperty("领用人ID")
    private Integer userId;

    @ApiModelProperty("类型 1-入库 0-出库")
    private Integer type;

    @ApiModelProperty("主分区 1-新品区 2-拆解区 3-质保件区")
    private Integer area;

    @ApiModelProperty("子分区 31-良品 32-不良品 33-返修品")
    private Integer subArea;

    @ApiModelProperty("数量")
    private Integer amount;

    @ApiModelProperty("结余")
    private Integer balance;

    @ApiModelProperty("业务类型 41-个人领取 42-归还仓库 43-个人现场维修 99-人工修改")
    private Integer businessType;

    @ApiModelProperty("业务ID")
    private Integer businessId;

    @ApiModelProperty("创建人ID")
    private Integer createUser;

    @ApiModelProperty("创建人姓名")
    private String createName;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("修改时间")
    private Date modifyTime;

}
